package com.km.team.phsystem.service;

import com.km.team.phsystem.beans.pojo.SystemBusitype;
import com.km.team.phsystem.beans.vo.SystemBusitypeVo;

import java.util.List;

/**
 * Author: rochzhu
 * Date: 2018/11/26
 * Time: 19:00pm
 * Description: 业务类型
 */

public interface ISysBusiTypeService {

    /**1.获取所有的业务类型*/
    List<SystemBusitype> getSysBusiTypeData() throws Exception;

    /**2.删除业务类型*/
    int delete(Integer id) throws Exception;

    /**3.通过业务类型名称去重*/
    List<SystemBusitype> getSystemBusiType(SystemBusitypeVo busiTypeVo) throws Exception;

    /**4.通过ID获取业务类型*/
    SystemBusitype getSystemBusiTypeByID(int id) throws Exception;

    /**5.添加业务类型*/
    int add(SystemBusitypeVo busiTypeVo) throws Exception;

    /**6.更新业务类型*/
    int updateBusiType(SystemBusitype systemBusitype) throws Exception;

}
